import { exportSwagger } from '@shixinde/apifox-swagger';
import config from '../apifox.config.js';



async function runExport() {
    // console.log('config.token ===>', config.token);

    try {
        const result = await exportSwagger({
            ...config,
            token: config.token || process.env.VITE_APIFOX_ACCESS_TOKEN
        });
        // console.log('导出成功:', result);
    } catch (error) {
        // console.error('导出失败:', error.message);
    }
}

runExport();